package com.treetao.union.db.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.treetao.union.db.model.MallPAttr;
/**
 * <p>
 * 商品属性 服务类
 * </p>
 *
 * @author Dev.M
 * @since 2020-04-11
 */
public interface MallPAttrService extends IService<MallPAttr> {
	/**
	 * 获取当前SKU下所有属性,如：{颜色：[{name:黑色},{name:白色}]}
	 * @param skuId
	 * @return
	 */
	List<MallPAttr> getAttrs(Long skuId);
}
